<template>
    <div class="section-wrap">
        <!-- 头部 -->
         <div class="headerBox">
        <div class="header">
            <x-icon type="ios-arrow-left" size="" class="icon-white" @click="goBack"></x-icon>添加违章人员
        </div>
        </div>
        <div class="add_person">
            <div class="add_top"><span>0/200</span><a class="resetBtn">清空</a></div>
            <div class="add_main">
                <textarea placeholder="请输入（自行换行）"></textarea>
            </div>
            <div class="btnsBox">
                <a class="saveBtn">保 存</a>
            </div>
        </div>
    </div>
</template>
<script>
    export default {
        data () {
            return {
                isDisabled: true, // 是否禁止输入
            }
        },
        components: {
        },
        created () {

        },
        methods: {
            goBack(){
                this.$router.go(-1)
            }
        }
    }
</script>
<style lang="less" scoped>
    .add_person{
        background: #fff;
        padding: 0 20px;
        .add_top{
            padding: 16px 0 10px;
            height: 50px;
            line-height: 24px;
            >span{
                font-size: 12px;
                color: #999;
            }
            .resetBtn{
                float: right;
                display: block;
                width: 50px;
                height: 24px;
                text-align: center;
                border-radius: 12px;
                border: 1px solid #469b7a;
                font-size: 12px;
                line-height: 24px;
                color: #469b7a;
            }
        }
        .add_main{
            textarea{
                box-sizing: border-box;
                resize: none;
                font-size: 14px;
                border: 1px solid #efeff4;
                width: 100%;
                padding: 10px 12px;
                height: 170px;
            }
        }
        .btnsBox{
            padding: 30px 20px 55px;
            justify-content: center;
            display: flex;
            a{
                height: 40px;
                border-radius: 20px;
                display: inline-block;
                width: 140px;
                text-align: center;
                line-height: 44px;
                color: #fff;
            }
            .saveBtn{
                background: #469b7a;
            }
        }
    }
</style>
